package com.qin.springbootdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @author Leisure
 * create 2022 2022/6/18 10:53
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "favorite")
public class favoriteEntity {
    @Id
    private String _id;

    private int goods_id;

    private String typeID;

    private String type_id;

    private String _openid;

    private int currentPrice;

    private String goodsID;

    private String goodsImage;

    private List<String> goodsTitle;
}
